<%@tag pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="consignum" tagdir="/WEB-INF/tags"%>
<%@attribute name="id"%>
<%@attribute name="style"%>
<%@attribute name="icon"%>
<%@attribute name="title"%>
<%@attribute name="tooltip"%>
<%@attribute name="tooltipDirection"%>
<%@attribute name="rendered" type="java.lang.Boolean"%>
<%@attribute name="value" type="java.lang.Object"%>
<c:if test="${empty rendered or rendered eq true}">
  <i
		<consignum:renderedField field="name" value="${id}" />
		<consignum:renderedField field="id" value="${id}" />
		<consignum:renderedField field="class" value="${icon}" /> 
		
		<c:if test="${not empty tooltip}">
			<consignum:renderedField field="rel" value="tooltip" />
			<consignum:renderedField field="data-placement" value="${tooltipDirection}" defaultValue="top" />
			<consignum:renderedField field="data-original-title" value="${tooltip}" />
			<consignum:renderedField field="lang" value="tooltip" />
		</c:if>
		<consignum:renderedField field="style" value="${style}" /> > 
 </i>
</c:if>
